package service

import (
	"rongyy/src/models"
)

type HisApiLogService struct {
}

func (es *HisApiLogService) Query(req *models.HisApiLogReq) ([]models.HisApiLog, int64, error) {
	em := &models.HisApiLog{}
	data, total, err := em.Query(*req)
	if err != nil {
		return nil, 0, err
	}
	return data, total, nil
}
